//商品品牌API
import request from '@/utils/request'

//获取商品品牌分页数据
export function getBranList(){
  return request({
    url:"/goods/brand/list",
    method:"get"
  })
}

//获取商品品牌分页数据
export function getBranPage(){
  return request({
    url:"/goods/brand/page",
    method:"get"
  })
}
//添加商品品牌信息
export function addBranList(data){
  return request({
    data:data,
    url:"/goods/brand/add",
    method:"post"
  })
}
//获取商品品牌列表数据
export function queryBranList(id){
  return request({
    url:"/goods/brand/" +id,
    method:"get"
  })
}
//编辑商品品牌信息
export function editBranList(data){
  return request({
    data:data,
    url:"/goods/brand/update" ,
    method:"put"
  })
}
//删除商品品牌信息
export function delBranList(id){
  return request({
    url:"/goods/brand/" +id ,
    method:"delete"
  })
}
